export default [
  { path: "", redirect: "/login" },
  {
    path: "/",
    component: () => import("@/layout/index.vue"),
    redirect: "/home",
    meta: { title: "首页", icon: "HomeFilled" },
    children: [
      {
        path: "/home",
        component: () => import("@/views/home"),
        meta: { title: "首页" },
      },
    ],
  },
  {
    path: "/login",
    component: () => import("@/views/login.vue"),
    meta: { icon: "Grid", title: "登录" },
  },
  {
    path: "/declaresearch",
    component: () => import("@/layout"),
    meta: { icon: "DocumentCopy", title: "申报查询" },
    children: [
      {
        path: "/declaresearch/wastemonthstatistics",
        component: () => import("@/views/declaresearch/wastemonthstatistics"),
        meta: { title: "产废月度申报" },
      },
      {
        path: "/declaresearch/disposemonthstatistics",
        component: () => import("@/views/declaresearch/disposemonthstatistics"),
        meta: { title: "处置月度申报" },
      },
      {
        path: "/declaresearch/wastedetail",
        component: () => import("@/views/declaresearch/wastedetail"),
        meta: { title: "产废明细" },
      },

      {
        path: "/declaresearch/disposedetail",
        component: () => import("@/views/declaresearch/disposedetail"),
        meta: { title: "处置明细" },
      },
      // {
      //   path: "/declaresearch/manageplan",
      //   component: () => import("@/views/declaresearch/manageplan"),
      //   meta: { title: "管理计划" },
      // },
    ],
  },
  {
    path: "/applicationreview",
    component: () => import("@/layout"),
    meta: { icon: "Document", title: "申报审核" },
    children: [
      {
        path: "/applicationreview/licencereview",
        component: () => import("@/views/applicationreview/licencereview"),
        meta: { title: "许可证审核 " },
      },
      // {
      //   path: "/applicationreview/registerinfo",
      //   component: () => import("@/views/applicationreview/registerinfo"),
      //   meta: { title: "注册信息备案" },
      // },
      {
        path: "/applicationreview/enterprisestatuschange",
        component: () =>
          import("@/views/applicationreview/enterprisestatuschange"),
        meta: { title: "企业状态变更 " },
      },
    ],
  },
  {
    path: "/enterprisemanage",
    component: () => import("@/layout"),
    meta: { icon: "OfficeBuilding", title: "企业管理" },
    children: [
      {
        path: "/enterprisemanage/wasteenterprise",
        component: () => import("@/views/enterprisemanage/wasteenterprise"),
        meta: { title: "产废企业 " },
      },
      {
        path: "/enterprisemanage/disposeenterprise",
        component: () => import("@/views/enterprisemanage/disposeenterprise"),
        meta: { title: "处置企业" },
      },
      // {
      //   path: "/enterprisemanage/transportenterprise",
      //   component: () => import("@/views/enterprisemanage/transportenterprise"),
      //   meta: { title: "运输企业 " },
      // },
    ],
  },
  // {
  //   path: "/kuponomanage",
  //   component: () => import("@/layout"),
  //   meta: { icon: "Discount", title: "联单管理" },
  //   children: [
  //     {
  //       path: "/kuponomanage/kuponosearch",
  //       component: () => import("@/views/kuponomanage/kuponosearch"),
  //       meta: { title: "联单查询" },
  //     },
  //   ],
  // },
  {
    path: "/datecenter",
    component: () => import("@/layout"),
    meta: { icon: "Share", title: "数据中心" },
    children: [
      {
        path: "/datecenter/wastestatistics",
        component: () => import("@/views/datecenter/wastestatistics"),
        meta: { title: "产废统计" },
      },

      {
        path: "/datecenter/disposestatistics",
        component: () => import("@/views/datecenter/disposestatistics"),
        meta: { title: "处置统计" },
      },
      {
        path: "/datecenter/applynumstatistics",
        component: () => import("@/views/datecenter/applynumstatistics"),
        meta: { title: "申报量统计" },
      },
      {
        path: "/datecenter/transferstatistics",
        component: () => import("@/views/datecenter/transferstatistics"),
        meta: { title: "转移统计" },
      },
      {
        path: "/datecenter/storagestatistics",
        component: () => import("@/views/datecenter/storagestatistics"),
        meta: { title: "贮存统计" },
      },
    ],
  },
  {
    path: "/admindispose",
    component: () => import("@/layout"),
    meta: { icon: "Setting", title: "行政待处置" },
    children: [
      {
        path: "/admindispose/wastemsg",
        component: () => import("@/views/admindispose/wastemsg"),
        meta: { title: "产废信息" },
      },
      {
        path: "/admindispose/disposemsg",
        component: () => import("@/views/admindispose/disposemsg"),
        meta: { title: "处置信息" },
      },
      // {
      //   path: "/admindispose/storagemsg",
      //   component: () => import("@/views/admindispose/storagemsg"),
      //   meta: { title: "贮存点信息" },
      // },
      // {
      //   path: "/admindispose/pickarea",
      //   component: () => import("@/views/admindispose/pickarea"),
      //   meta: { title: "拣货区" },
      // },
      {
        path: "/admindispose/transferkupono",
        component: () => import("@/views/admindispose/transferkupono"),
        meta: { title: "转移联单" },
      },
    ],
  },

  {
    path: "/warningsystem",
    component: () => import("@/layout"),
    meta: { icon: "Warning", title: "预警管控" },
    children: [
      {
        path: "/warningsystem/inform",
        component: () => import("@/views/warningsystem/inform"),
        meta: { title: "通知" },
      },
      {
        path: "/warningsystem/enterprisecontrol",
        component: () => import("@/views/warningsystem/enterprisecontrol"),
        meta: { title: "管控企业分组" },
      },
    ],
  },
  {
    path: "/environmentalconsult",
    component: () => import("@/layout"),
    meta: { icon: "Folder", title: "环保资讯" },
    children: [
      {
        path: "/environmentalconsult/inform",
        component: () => import("@/views/environmentalconsult/inform"),
        meta: { title: "资讯列表" },
      },
      // {
      //   path: "/warningsystem/enterprisecontrol",
      //   component: () => import("@/views/warningsystem/enterprisecontrol"),
      //   meta: { title: "管控企业分组" },
      // },
    ],
  },
  {
    path: "/feedback",
    component: () => import("@/layout"),
    meta: { icon: "List", title: "反馈管理" },
    children: [
      {
        path: "/feedback/list",
        component: () => import("@/views/feedback/list/index.vue"),
        meta: { title: "反馈列表" },
      },
    ],
  },
  // {
  //   path: "/systemmanage",
  //   component: () => import("@/layout"),
  //   meta: { icon: "Menu", title: "系统设置" },
  //   children: [
  //     {
  //       path: "/systemmanage/punish",
  //       component: () => import("@/views/systemmanage/punish"),
  //       meta: { title: "处罚" },
  //     },
  //   ],
  // },
  {
    path: "/usermanage",
    component: () => import("@/layout"),
    meta: { icon: "Avatar", title: "用户管理" },
    children: [
      {
        path: "/usermanage/userlist",
        component: () => import("@/views/usermanage/uesrlist/index.vue"),
        meta: { title: "用户列表" },
      },
      {
        path: "/usermanage/updatepsd",
        component: () => import("@/views/usermanage/updatepsd"),
        meta: { title: "修改密码" },
      },
    ],
  },
];
export const asyncRoute = [];
